export  const getStatusText = (status: number): string => {
  let statusText = '';  
  switch (status) {
    case 200:
      statusText = 'OK';
      break;  
    case 400:
      statusText = 'Bad Request';
      break;
    case 401:
      statusText = 'Unauthorized';
      break;
    case 403:
      statusText = 'Forbidden';
      break;  
    case 404:
      statusText = 'Not Found';
      break;  
    case 500:
      statusText = 'Internal Server Error';
      break;  
    case 502:
      statusText = 'Bad Gateway';
      break;  
    case 503:
      statusText = 'Service Unavailable';
      break;  
    case 504:
      statusText = 'Gateway Timeout';
      break;  
    default:
      statusText = 'Unknown Status';
      break;      
  }
  return statusText;
}